<template>
  <view class="reference-basis">
    <view class="reference-basis-main">
      <rich-text :nodes="reference" />
    </view>
    <button class="button-plain-purple" @tap="showDialog">
      保存管理方案
    </button>
  </view>
</template>

<script lang="ts">
export default {
  props: {
    reference: {
      type: String,
      default: ""
    }
  },
  methods: {
    showDialog() {
      this.$emit("showDialog");
    }
  }
};
</script>

<style lang="less">
@import "./index.less";
</style>
